package com.itheima.domain;

import org.springframework.stereotype.Repository;

@Repository
public class User {
    private int id;
    private String username;
    private int gender;
    private String idcard;
    private String inTime;
    private int status;

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", username='" + username + '\'' +
                ", gender=" + gender +
                ", idcard='" + idcard + '\'' +
                ", inTime='" + inTime + '\'' +
                ", status=" + status +
                '}';
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public int getGender() {
        return gender;
    }

    public void setGender(int gender) {
        this.gender = gender;
    }

    public String getIdcard() {
        return idcard;
    }

    public void setIdcard(String idcard) {
        this.idcard = idcard;
    }

    public String getInTime() {
        return inTime;
    }

    public void setInTime(String inTime) {
        this.inTime = inTime;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public User(int id, String username, int gender, String idcard, String inTime, int status) {
        this.id = id;
        this.username = username;
        this.gender = gender;
        this.idcard = idcard;
        this.inTime = inTime;
        this.status = status;
    }

    public User() {
    }
}
